package com.yiyuan.app.entity.po;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.guaike.core.mybatis.entity.BasePO;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 周卡月卡详情表
 * </p>
 *
 * @author system
 * @since 2025-03-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("m_product_card_detail")
public class MProductCardDetailPO extends BasePO {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * m_product_card表ID
     */
    private Long productCardId;
    /**
     * 商品名称
     */
    private String cardName;
    /**
     * 商品类型(字典码:50018)
     */
    private Integer cardType;
    /**
     * 立即获得松果数量
     */
    private Integer directlyPinecone;
    /**
     * 每天获得松果数量
     */
    private Integer dailyPinecone;
    /**
     * 金额
     */
    private BigDecimal money;
    /**
     * 产品图片
     */
    private String image;
    /**
     * 苹果产品ID
     */
    private String appleId;
    /**
     * 描述
     */
    private String remark;
    /**
     * 渠道编码
     */
    private String tenantId;
    /**
     * 逻辑删除（非0:已删除, 0:未删除）
     */
    @TableLogic(value = "0", delval = "now()")
    private Long deleted;



}
